Fix event_pending() macro to match the assembly-language
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 17 Nov 2005 12:02:19 +0000 (13:02 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 17 Nov 2005 12:02:19 +0000 (13:02 +0100)
commitd2a085d07ca19392412bb02c06c3c532c31ed8b4
treefdce0ec5e3bbbd26bea03ea016f5788894914657
parentc65d6353512ae6f1671723502b710c290a6be745
Fix event_pending() macro to match the assembly-language
checks in entry.S. This will avoid a hard-to-debug loop
that we found ourselves in recently, involving
hypercall_preempt_check() spuriously returning TRUE, but
no event getting propagated to the guest (since mask != 0).

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/include/xen/event.h